package com.pkk.penguin.frame.know.java.principle.openclose;

import java.math.BigDecimal;

/**
 * @description: 添加
 * @author: peikunkun
 * @create: 2020-04-27 17:34
 **/
public class OperateAdd implements OpenClosePrinciple<BigDecimal> {

  /**
   * @Description: 操作
   * @Param:
   * @return: T
   * @Author: peikunkun
   * @Date: 2020/4/27 0027 下午 5:34
   */
  @Override
  public BigDecimal operate(BigDecimal v1, BigDecimal v2) {
    return v1.add(v2);
  }
}
